/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wf.dto;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
//import org.hibernate.annotations.NamedNativeQueries;
//import org.hibernate.annotations.NamedNativeQuery;

/**
 *
 * @author Rómulo Galindo Tanta
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
	name = "frawor2.qbfrawor_id_frawor",
    query = "select nextval from nextval(:frawor)",
    resultClass = qbfrawor_id_frawor.class)
})
public class qbfrawor_id_frawor implements Serializable {

    @Id
    @Column(name = "nextval")
    int nextval;

    public int getNextval() {
        return nextval;
    }

    public void setNextval(int nextval) {
        this.nextval = nextval;
    }
    
}
